<template>
    <div id="app">
        <router-view/>
    </div>
</template>
<script>

export default {
    components: {

    },
    data() {
        return{

        }
    },
    methods: {
        
    },
    beforeCreate() {
        let userId = localStorage.getItem('userId');
        if(userId) this.$store.commit('setUserId', userId)
    }
};
</script>

<style>

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    outline: 0
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    font-size: 12px;
    font-family: Open Sans,Roboto,Arial,Helvetica,sans-serif,SimSun;
    background-color: #f2f2f2;
}

a,body {
    color: #3a3e4a
}

a {
    -webkit-touch-callout: none;
    text-decoration: none
}

a:active,a:hover {
    outline: 0
}

img {
    border: 0
}

button,input,select,textarea {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-transform: none;
    line-height: normal;
    background: 0;
    border: 0;
    border-radius: 0;
    overflow: visible
}

button,input[type=button],input[type=reset],input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],input[disabled] {
    cursor: default
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input[type=checkbox],input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button {
    height: auto
}

input[type=search] {
    -webkit-appearance: textfield;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset
}

input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
    color: #b0b2b7
}

a,address,article,aside,blockquote,body,code,dd,del,div,dl,dt,footer,form,h1,h2,h3,h4,h5,h6,header,html,iframe,img,label,li,nav,object,p,pre,section,span,ul {
    margin: 0;
    padding: 0
}

</style>
